package com.bianxianmao.duobao.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/7/20.
 */

public class ComputerBean {

    //电脑办公
    /**
     * returnValue : [{"productId":174,"periodsId":143013,"productName":"Apple/苹果 12 英寸 MacBook 256GB（颜色随机）","productClassId":13,"productType":"3","dbTotalCount":1388,"image1":"http://file.migree.com.cn/qmdb/goods/201701181501525942.jpg","dbSurplusCount":561,"periodsNumber":73867,"state":"1","winReturnAmount":0},{"productId":173,"periodsId":143015,"productName":"Apple/苹果 MacBook Air 13.3英寸 128G（颜色随机）","productClassId":13,"productType":"3","dbTotalCount":988,"image1":"http://file.migree.com.cn/qmdb/goods/201701181243233962.jpg","dbSurplusCount":244,"periodsNumber":73869,"state":"1","winReturnAmount":0},{"productId":84,"periodsId":143049,"productName":"小米笔记本Air 12.5寸 带独立显卡的轻薄笔记本","productClassId":13,"productType":"5","dbTotalCount":878,"image1":"http://file.migree.com.cn/qmdb/goods/201611081521243514.jpg","dbSurplusCount":540,"periodsNumber":73903,"state":"1","winReturnAmount":0},{"productId":154,"periodsId":143052,"productName":"Alienware外星人高端笔记本 双硬盘 6G显存 16G内存","productClassId":13,"productType":"6","dbTotalCount":220,"image1":"http://file.migree.com.cn/2017/03/10/eebc1d4c-a67c-41ea-b4c5-a945cb1a86ce","sortNumber":99,"dbSurplusCount":130,"periodsNumber":73906,"state":"1","winReturnAmount":0},{"productId":143,"periodsId":143058,"productName":"游戏发烧友必备 MSI/微星六代i7+GTX960M 2G独显游戏笔记本电脑","productClassId":13,"productType":"3","dbTotalCount":888,"image1":"http://file.migree.com.cn/qmdb/goods/201612241509143305.jpg","dbSurplusCount":675,"periodsNumber":73912,"state":"1","winReturnAmount":0}]
     * successed : true
     */

    private boolean successed;
    private List<ReturnValueBean> returnValue;

    public boolean isSuccessed() {
        return successed;
    }

    public void setSuccessed(boolean successed) {
        this.successed = successed;
    }

    public List<ReturnValueBean> getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(List<ReturnValueBean> returnValue) {
        this.returnValue = returnValue;
    }

    public static class ReturnValueBean {
        /**
         * productId : 174
         * periodsId : 143013
         * productName : Apple/苹果 12 英寸 MacBook 256GB（颜色随机）
         * productClassId : 13
         * productType : 3
         * dbTotalCount : 1388
         * image1 : http://file.migree.com.cn/qmdb/goods/201701181501525942.jpg
         * dbSurplusCount : 561
         * periodsNumber : 73867
         * state : 1
         * winReturnAmount : 0
         * sortNumber : 99
         */

        private int productId;
        private int periodsId;
        private String productName;
        private int productClassId;
        private String productType;
        private int dbTotalCount;
        private String image1;
        private int dbSurplusCount;
        private int periodsNumber;
        private String state;
        private int winReturnAmount;
        private int sortNumber;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getPeriodsId() {
            return periodsId;
        }

        public void setPeriodsId(int periodsId) {
            this.periodsId = periodsId;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public int getProductClassId() {
            return productClassId;
        }

        public void setProductClassId(int productClassId) {
            this.productClassId = productClassId;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public int getDbTotalCount() {
            return dbTotalCount;
        }

        public void setDbTotalCount(int dbTotalCount) {
            this.dbTotalCount = dbTotalCount;
        }

        public String getImage1() {
            return image1;
        }

        public void setImage1(String image1) {
            this.image1 = image1;
        }

        public int getDbSurplusCount() {
            return dbSurplusCount;
        }

        public void setDbSurplusCount(int dbSurplusCount) {
            this.dbSurplusCount = dbSurplusCount;
        }

        public int getPeriodsNumber() {
            return periodsNumber;
        }

        public void setPeriodsNumber(int periodsNumber) {
            this.periodsNumber = periodsNumber;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getWinReturnAmount() {
            return winReturnAmount;
        }

        public void setWinReturnAmount(int winReturnAmount) {
            this.winReturnAmount = winReturnAmount;
        }

        public int getSortNumber() {
            return sortNumber;
        }

        public void setSortNumber(int sortNumber) {
            this.sortNumber = sortNumber;
        }
    }
}
